﻿/**************************************************************************************
 * SPDiagnosticsAreas.cs
 * An utility class containing the built in Diagnostics Areas provided by Sharepoint Server and the diagnostics category names for each one.
 * Jaime Alberto Jaramillo Zapata (jjaramillo.informatica-tecnologia.com)
 * Created on 06/02/2012.
 * Last update on 06/02/2012.
 **************************************************************************************/

namespace MS.InformationManagement.Support.Constants
{
    /// <summary>
    /// An utility class containing the built in Diagnostics Areas provided by Sharepoint Server and the diagnostics
    /// category names for each one.
    /// </summary>
    public static class SPDiagnosticsAreas
    {   
        public const string SHAREPOINTFOUNDATION = "Sharepoint Foundation";
        public const string BUSINESSCONNECTIVITYSERVICES = "Business Connectivity Services";
        public const string SHAREPOINTFOUNDATIONSEARCH = "Sharepoint Foundation Search";
        
        /// <summary>
        /// Contains the diagnostics category names for the Sharepoint Foundation diagnostic area
        /// </summary>
        public struct SharepointFoundationDiagnosticsCategories {
            public const string WEBPARTS = "Web Parts";
            public const string GENERAL = "General";
            public const string RUNTIME = "Runtime";
            public const string WEBCONTROLS = "WebControls";
        }

        /// <summary>
        /// Contains the diagnostics category names for the Sharepoint Foundation Search diagnostic area
        /// </summary>
        public struct  SharepointFoundationSearchDiagnosticsCategories
        {
            public const string EXCEPTIONS = "Exceptions";
            public const string COMMON = "Common";
            public const string QUERY = "Query";
        }

        /// <summary>
        /// Contains the diagnostics categoty names for the Business Connetiviy diagnostic area
        /// </summary>
        public struct BusinessConnectivityDiagnosticsCategoties { 
            public  const string BUSINESSDATA = "Business Data";
        }
    }
}
